import styles from '../index.less';
import Footer from '@/components/Footer'
import { PageHeaderWrapper, GridContent } from '@ant-design/pro-layout'
import Nav from './component/Nav'
import NewArticle from './component/NewArticle';
import NewComment from './component/NewComment';
export default function Index() {
  return (
    <div>
      <PageHeaderWrapper
        fixedHeader={true}
        content={
          <div>
            <h1 className={styles.title}>您好，123</h1>
            <p>您的角色：访客</p>
          </div>
        }
      >
      </PageHeaderWrapper>
      <main>
        <GridContent>
          <Nav />
          <NewArticle/>
          <NewComment/>
        </GridContent>
      </main>
      <Footer />
    </div>
  );
}
